import {createStore,applyMiddleware,combineReducers} from "redux"
import {countReducer} from "./reducers/countReducer"
import{movieReducer}from"./reducers/movieReducer"
import thunk from "redux-thunk"
const allReducer=combineReducers({
    count:countReducer,
    movie:movieReducer
})

const store=createStore(allReducer,applyMiddleware(thunk))

export default store